package com.skins;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;


public class DBManager extends SQLiteOpenHelper{
	public DBManager(Context context){
	super(context, "skins.db",null,1);
	
}

public void onCreate(SQLiteDatabase arg0){
	arg0.execSQL("Create table skins(image text, name text, price text, link text);");
}

public void onUpgrade(SQLiteDatabase arg0, int arg1, int arg2){
	arg0.execSQL("drop table skins;");
	onCreate(arg0);
	}
}